package executable.basic;

public class BasicStaticCall {

    public static int fnc1() {
        return 10;
    }

    public static int fnc2(int b) {
        return 20 + b;
    }

    public static int fnc3(int a, int b) {
        return a / b;
    }

    public static int fnc() {
        return 2;
    }

    public static int fnc(int a) {
        return 3;
    }

    public static int fnc(int a, int b) {
        return 4;
    }

    public static int fnc(String a) {
        return 5;
    }

    public static int testCallNoArg() {
        return fnc();
    }

    public static int testCallArg1() {
        return fnc(6);
    }

    public static int testCallArg2() {
        return fnc(7, 7);
    }

    public static int testCallString() {
        return fnc("aa");
    }

    public static int testCall1() {
        int b = fnc1();
        return b;
    }

    public static int testCall2() {
        int b = fnc2(5);
        return b;
    }

    public static int testCall3() {
        int b = fnc3(20, 5);
        return b;
    }

    public static int testCall4() {
        int b = BasicStaticCallExternal.fnc();
        return b;
    }

    public static int testWithoutCall3() {
        int a = 20;
        int b = 5;
        return a / b;
    }


}
